package com.slipper.sfts.member.dao;

import java.util.List;

import com.slipper.sfts.api.member.bo.MemberBO;
import org.apache.ibatis.annotations.Param;

/**
 * 会员信息表
 * 
 * @date 2024-01-14 22:22:15
 */
public interface MemberDao {
    
    int insert(MemberBO bo);
    
    int update(MemberBO bo);
    
    int delete(MemberBO bo);

    MemberBO queryBy(String id);
    
    List<MemberBO> queryList(MemberBO bo);

    MemberBO queryByLogin(MemberBO bo);

    int deleteBrokerAccount(String memberId);

    int saveBrokerAccount(
            @Param("id") String id,
            @Param("memberId") String memberId,
            @Param("brokerAccountId") String brokerAccountId);
}
